package com.xx.pmis.model;

import java.util.HashSet;
import java.util.Set;

/**
 * @class 功能树实体类<br>
 * 
 * @editor jack.shi  @Date 2011-9-21 上午11:45:03 <br>
 * @version jdk_1.5.0
 */
public class Function extends AbstractEntity implements Comparable<Entity> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int functionID;
	private int functionParentID;
	private String functioName; 
	private String functionDescription; 
	private String functionURL; 
	private String functionTilte; 
	private String functionTarget; 
	private String functionIcon; 
	private String functionIconOpen; 
	private String functionOpened; 
	private String functionDeleteFlag;
	private String functionState;// 使用状态
	
	private Set<Role> role = new HashSet<Role>(0);
	private String isSelected = "";
	
	public Function() {
		super();
	}
	
	public Function(int functionID, int functionParentID,
			String functioName, String functionDescription, String functionURL,
			String functionTilte, String functionTarget, String functionIcon,
			String functionIconOpen, String functionOpened,
			String functionDeleteFlag) {
		super();
		this.functionID = functionID;
		this.functionParentID = functionParentID;
		this.functioName = functioName;
		this.functionDescription = functionDescription;
		this.functionURL = functionURL;
		this.functionTilte = functionTilte;
		this.functionTarget = functionTarget;
		this.functionIcon = functionIcon;
		this.functionIconOpen = functionIconOpen;
		this.functionOpened = functionOpened;
		this.functionDeleteFlag = functionDeleteFlag;
	}

	public int getFunctionID() {
		return functionID;
	}

	public void setFunctionID(int functionID) {
		this.functionID = functionID;
	}

	public int getFunctionParentID() {
		return functionParentID;
	}

	public void setFunctionParentID(int functionParentID) {
		this.functionParentID = functionParentID;
	}

	public String getFunctioName() {
		return functioName;
	}

	public void setFunctioName(String functioName) {
		this.functioName = functioName;
	}

	public String getFunctionDescription() {
		return functionDescription;
	}

	public void setFunctionDescription(String functionDescription) {
		this.functionDescription = functionDescription;
	}

	public String getFunctionURL() {
		return functionURL;
	}

	public void setFunctionURL(String functionURL) {
		this.functionURL = functionURL;
	}

	public String getFunctionTilte() {
		return functionTilte;
	}

	public void setFunctionTilte(String functionTilte) {
		this.functionTilte = functionTilte;
	}

	public String getFunctionTarget() {
		return functionTarget;
	}

	public void setFunctionTarget(String functionTarget) {
		this.functionTarget = functionTarget;
	}

	public String getFunctionIcon() {
		return functionIcon;
	}

	public void setFunctionIcon(String functionIcon) {
		this.functionIcon = functionIcon;
	}

	public String getFunctionIconOpen() {
		return functionIconOpen;
	}

	public void setFunctionIconOpen(String functionIconOpen) {
		this.functionIconOpen = functionIconOpen;
	}

	public String getFunctionOpened() {
		return functionOpened;
	}

	public void setFunctionOpened(String functionOpened) {
		this.functionOpened = functionOpened;
	}

	public String getFunctionDeleteFlag() {
		return functionDeleteFlag;
	}

	public void setFunctionDeleteFlag(String functionDeleteFlag) {
		this.functionDeleteFlag = functionDeleteFlag;
	}

	public String getFunctionState() {
		return functionState;
	}

	public void setFunctionState(String functionState) {
		this.functionState = functionState;
	}

	public Set<Role> getRole() {
		return role;
	}

	public void setRole(Set<Role> role) {
		this.role = role;
	}

	public String getIsSelected() {
		return isSelected;
	}

	public void setIsSelected(String isSelected) {
		this.isSelected = isSelected;
	}
	
	
}
